﻿@model SuperiorModel.Api_OrderDetail_InfoModel
@{
    ViewBag.Title = "详情";
    Layout = "~/Views/Shared/_Layout.cshtml";
    var spid = Request["spid"];
    var said = Request["said"];
}

<style>
    .weui-cell__hd.cat-check {
        margin-top: 0px;
    }

    .weui-media-box__hd {
        display: inline-block;
    }
</style>
<header class="wy-header">
    <div class="wy-header-icon-back"><a href="javascript:history.go(-1)"><span></span></a></div>
    <div class="wy-header-title">订单详情</div>
</header>
<div class="weui-content">
    <div class="wy-media-box weui-media-box_text address-select">
        <div class="weui-media-box_appmsg">
            <div class="weui-media-box__hd proinfo-txt-l" style="width:20px;"><span class="promotion-label-tit"><img src="/Content/images/icon_nav_city.png" /></span></div>
            <div class="weui-media-box__bd">
                <a href="javascript:;" class="weui-cell_access" >
                  
                    <h4 class="address-name"><span>@Model.ConsigneeName</span><span>@Model.ConsigneePhone</span></h4>
                        <div class="address-txt">@Model.Address</div>
                </a>
            </div>
            <div class="weui-media-box__hd proinfo-txt-l" style="width:16px;"><div class="weui-cell_access"><span class="weui-cell__ft"></span></div></div>
        </div>
    </div>
    <div class="wy-media-box weui-media-box_text">
        <div class="weui-media-box__bd">
            @foreach (var item in Model.Products)
            {
                <div class="weui-media-box_appmsg ord-pro-list">
                    <div class="weui-media-box__hd">
                        <a href="/Product/Detail?spid=@spid&said=@said&id=@item.ProductId">
                            <img class="weui-media-box__thumb" src="@item.ImagePath" alt="">
                        </a>
                    </div>
                    <div class="weui-media-box__bd">
                        <h1 class="weui-media-box__desc"><a href="/Product/Detail?spid=@spid&said=@said&id=@item.ProductId" class="ord-pro-link">@item.ProductName</a></h1>
                            <p class="weui-media-box__desc">规格:@(item.ProppetyCombineName==""?item.ProductName:item.ProppetyCombineName)</p>
                        <div class="clear mg-t-10">
                            <div class="wy-pro-pri fl">¥<em class="num font-15">@item.SalePrice</em> </div>
                            <div class="pro-amount fr">X @item.BuyNum</div>
                        </div>
                    </div>
                </div>
            }

        </div>
    </div>
    <div class="weui-panel">
        <div class="weui-panel__bd">
            <div class="weui-media-box weui-media-box_small-appmsg">
                <div class="weui-cells">
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">订单编号</span><span class="fr ">@Model.OrderNo</span></p>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">下单时间</span><span class="fr ">@Model.CreateTime</span></p>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">付款时间</span><span class="fr ">@Model.PayTime</span></p>
                        </div>
                    </div>

                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">配送方式</span><span class="fr ">普通快递</span></p>
                        </div>
                    </div>
                   
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">快递名称</span><span class="fr ">@Model.DeliveryName</span></p>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">快递单号</span><span class="fr ">@Model.DeliveryNo</span></p>
                        </div>
                    </div>

                    <div class="weui-cell weui-cell_access">
                        <div class="weui-cell__hd weui-cell_primary"><label class="weui-label wy-lab">留言备注</label></div>
                        <div class="weui-cell__bd weui-cell_primary">
                            <textarea class="weui-textarea" >@Model.Remark</textarea>
                        </div>
                    </div>
      
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">商品金额</span><span class="fr txt-color-red">￥<em class="num" id="product_amount">@Model.OrderAmount</em></span></p>
                        </div>
                    </div>
                
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">运费金额</span><span class="fr txt-color-red">￥<em class="num" id="ship_amount">@Model.ShippingAmount</em></span></p>
                        </div>
                    </div>
                    @if (Model.CouponDelAmount > 0)
                    {
                        <div class="weui-cell weui-cell_access" href="javascript:;">
                            <div class="weui-cell__bd weui-cell_primary">
                                <p class="font-14"><span class="mg-r-10">@Model.CouponName</span><span class="fr txt-color-red">-￥<em class="num" id="ship_amount">@Model.CouponDelAmount</em></span></p>
                            </div>
                        </div>
                    }
                    <div class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">实付金额</span><span class="fr txt-color-red">￥<em class="num" id="ship_amount">@Model.RealityAmount</em></span></p>
                        </div>
                    </div>
                    <a class="weui-cell weui-cell_access" href="javascript:;">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p class="font-14"><span class="mg-r-10">支付方式</span><span class="sitem-tip fr">微信支付</span></p>
                        </div>

                    </a>

                </div>
            </div>
        </div>
    </div>


    
</div>

